import request from "@/utils/request";
// 查询

export const itemCategory_ListAPI = (params) => {
  return request({
    url: "/base/manageCargoCategory/queryList",
    params,
  });
};
//添加
export const itemCategory_AddAPI = (data) => {
  return request({
    url: "/base/manageCargoCategory/save",
    method: "post",
    data: data,
  });
};
// 修改
export const itemCategory_EditAPI = (data) => {
  return request({
    method: "post",
    url: "/base/manageCargoCategory/save",
    data: data,
  });
};
// 删除
export const itemCategory_DelAPI = (id) => {
  return request({
    method: "delete",
    url: `/base/manageCargoCategory/delCargoCategoryById/${id}`,
  });
};
// 导入
//
